<html>
<head><meta charset="utf-8"><title>code, debugger, only show *.rs files · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/code.2C.20debugger.2C.20only.20show.20*.2Ers.20files.html">code, debugger, only show *.rs files</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="197181223"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/code%2C%20debugger%2C%20only%20show%20%2A.rs%20files/near/197181223" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> zeroexcuses <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/code.2C.20debugger.2C.20only.20show.20*.2Ers.20files.html#197181223">(May 11 2020 at 17:50)</a>:</h4>
<p>When using the debugger (currently CodeLLB, but willing to switch) and hitting the "Debug" button, the stack frames are shown on the LHS. Some frames correspond to *.rs files. Some correspond to assembly object files. Is there a way to have it only show stack frames corresponding ot *.rs files (preferably only ones in current workspace).</p>



<a name="197188072"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/code%2C%20debugger%2C%20only%20show%20%2A.rs%20files/near/197188072" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Lokathor <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/code.2C.20debugger.2C.20only.20show.20*.2Ers.20files.html#197188072">(May 11 2020 at 18:49)</a>:</h4>
<p>Do you mean the debugger within VS Code?</p>



<a name="197188361"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/code%2C%20debugger%2C%20only%20show%20%2A.rs%20files/near/197188361" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> zeroexcuses <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/code.2C.20debugger.2C.20only.20show.20*.2Ers.20files.html#197188361">(May 11 2020 at 18:52)</a>:</h4>
<p>Yes, the debugger within VS code. In a *.rs file, at a <code>#[test] fn (...) { ... }</code> block, two clickable links pop up "run unit test" | "debug"</p>
<p>clicking on "debug" runs the same unit test, except the LHS of vs code now shows the stack frames at the time of the todo!/panic1</p>
<p>my main problem is that it's showing lots of frames where clicking on it = gets me object code of external crates; I only want the stack frames corresponding to *.rs files in the current workspace</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>